package jk.spider.api.event.resource;

import jk.spider.api.event.EventVisitor;
import jk.spider.model.Resource;

public class ResourceFetchedEvent extends ResourceRelatedEvent {
	
	protected Resource resource;
	public ResourceFetchedEvent(Resource resource) {
		super(resource);
		this.resource = resource;
	}

	public String getComment() {
		return null;
	}

	public void accept(EventVisitor visitor) {
		visitor.visit(this);
	}
	
	public Resource getResource() {
		return this.resource;
	}
}
